package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.AccidentAudit;
import cn.wolfcode.crm.domain.Damage;
import cn.wolfcode.crm.query.AccidentAuditQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IAccidentAuditService {
    void deleteByPrimaryKey(Long id);

    void insert(AccidentAudit record);

    AccidentAudit selectByPrimaryKey(Long id);

    List<AccidentAudit> selectAll();

    void updateByPrimaryKey(AccidentAudit record);

    PageResult query(AccidentAuditQueryObject qo);

    void changeState(Long id);

    void updateByAudit(AccidentAudit accidentAudit);

    Damage getDamageItemByClaimId(String staging);
}
